package com.serverTechnology.teamsGroups.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.serverTechnology.teamsGroups.entity.TeLocationType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.serverTechnology.teamsGroups.entity.dto.LocationTypeAddDto;
import com.serverTechnology.teamsGroups.entity.dto.TeLocationTypeDto;
import com.serverTechnology.teamsGroups.entity.vo.TeLocationTypeVo;

/**
 * <p>
 * 库位类型 服务类
 * </p>
 *
 * @author 王凯炫
 * @since 2024-08-05
 */
public interface LocationTypeService extends IService<TeLocationType> {

    /**
     * 添加库
     * @param locationTypeAddDto
     */
    void addTeLocationType(LocationTypeAddDto locationTypeAddDto);

    /**
     * 查询库
     * @param locationTypeDto
     * @return
     */
    PageResult<TeLocationTypeVo> pages(TeLocationTypeDto locationTypeDto);

    /**
     * 查询库详情
     * @param id
     * @return
     */
    TeLocationTypeVo getByIds(Long id);

    /**
     * 删除库
     * @param id
     */
    void dels(Long id);
}
